Skip to content

Extract Chrome app header infra fixes#271670

Merged
Dosant merged 4 commits into
elastic:mainfrom
Dosant:chrome-next-main/extract-various-fixes
May 28, 2026
Merged

Extract Chrome app header infra fixes#271670
Dosant merged 4 commits into
elastic:mainfrom
Dosant:chrome-next-main/extract-various-fixes

Conversation

@Dosant
Copy link
Copy Markdown
Contributor

@Dosant Dosant commented May 28, 2026

Related: #259318

Summary

Ports a small set of Chrome infrastructure fixes from the Chrome Next integration branch to main, covering app menu static item visibility, Chrome Next helper plumbing, inline legacy action menu handling, header extension layout behavior, sidebar spacing, and the AppHeader badge Storybook story.

Dosant added 2 commits May 28, 2026 12:43
Port small Chrome infrastructure fixes from the Chrome Next integration branch so main has the shared app menu visibility, Chrome Next helper, legacy action menu, and layout plumbing needed by app header consumers.
Document the badge rendering cases from the Chrome Next integration branch so the app header package has Storybook coverage for simple, clickable, overflow, and menu-backed badges.
@Dosant Dosant added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:SharedUX Platform AppEx-SharedUX (formerly Global Experience) t// labels May 28, 2026
@Dosant Dosant marked this pull request as ready for review May 28, 2026 10:57
@Dosant Dosant requested a review from a team as a code owner May 28, 2026 10:57
@infra-vault-gh-plugin-prod
Copy link
Copy Markdown

Pinging @elastic/appex-sharedux (Team:SharedUX)

Comment thread src/core/packages/chrome/browser-hooks/use_is_next_chrome.ts
args: {
title: '[Logs] Web Traffic',
badges: [
{ label: 'Beta' },
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beta and New badges are clickable even if they don't have an onClick

@angeles-mb
Copy link
Copy Markdown
Contributor

While checking stories, are these the final looks or do we still need to polish?

Overflow badges positioning:
Screenshot 2026-05-28 at 13 59 48

Overlapping popovers:
Screenshot 2026-05-28 at 14 00 00

Keep useIsNextChrome in the browser hooks package only and remove duplicate browser-components feature flag plumbing.
Copy link
Copy Markdown
Contributor

@angeles-mb angeles-mb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving to unblock the rest of the changes but we should take another look at the AppBadge later on.

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
core 694 695 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
core 149.8KB 149.9KB +14.0B
developerToolbar 216.8KB 216.8KB +57.0B
discover 1.9MB 1.9MB -2.0B
total +69.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
core 538.5KB 538.6KB +127.0B

History

@Dosant Dosant merged commit 8e0d77b into elastic:main May 28, 2026
33 checks passed
dej611 pushed a commit to dej611/kibana that referenced this pull request May 29, 2026
Related: elastic#259318

## Summary

Ports a small set of Chrome infrastructure fixes from the Chrome Next
integration branch to main, covering app menu static item visibility,
Chrome Next helper plumbing, inline legacy action menu handling, header
extension layout behavior, sidebar spacing, and the AppHeader badge
Storybook story.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:SharedUX Platform AppEx-SharedUX (formerly Global Experience) t// v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants